package com.prjsystem.dao.impl;

import java.util.List;
import com.prjsystem.dao.BaseDao;
import com.prjsystem.dao.TopMenuDao;
import com.prjsystem.entity.UserInfo;

public class TopMenuDaoImpl extends BaseDao implements TopMenuDao {
	@SuppressWarnings("unchecked")
	public List<UserInfo> searchParivileges(String roleid) {
		return excuteQueryForList("role.getUrl", roleid);
	}
	
	@SuppressWarnings("unchecked")
	public List<UserInfo> searchUserInfo(UserInfo userInfo) { 
		// 用户登陆
		return excuteQueryForList("role.getUser", userInfo);
	}
}
